package com.bailong.administrator.ausedcar.ui.buycarsfragment;

import com.bailong.administrator.ausedcar.base.IBaseMode;
import com.bailong.administrator.ausedcar.base.IBasePresenter;
import com.bailong.administrator.ausedcar.base.IBaseView;
import com.bailong.administrator.ausedcar.bean.BuyCarsBean;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/9/6.
 */
public class BuyCarsContract {
    public interface View extends IBaseView{
        void onResponse(BuyCarsBean buyCarsBean);
        void onFailure(String  s);
    }

    public interface Mode extends IBaseMode{
        void  loadBuyCarsBean(Callback<BuyCarsBean> callback, Map<String,String> map);
    }

    public interface Presreter extends IBasePresenter{
        void getData();
    }

}
